<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${!guest.succeed}">
	<jsp:include page="notresult.jsp"></jsp:include>
</c:if>
<c:if test="${guest.succeed}">
<script type="text/javascript">
function openAuditionMusic(id)
{
	window.open("auditionMusic.jsp?id="+id,"", "toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=330, height=120");
}
</script>
<table width="699" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:20px">
      <tr>
        <td width="108" height="26" align="center" class="musicMenuStyle"><b>标题</b></td>
        <td width="95" class="musicMenuStyle" align="center"><b>艺术家</b></td>
        <td width="80" class="musicMenuStyle" align="center"><b>所属专辑</b></td>
        <td width="43" class="musicMenuStyle" align="center"><b>文件大小</b></td>
        <td width="43" class="musicMenuStyle" align="center"><b>连接速度</b></td>
        <td width="40" class="musicMenuStyle" align="center"><b>格式</b></td>
        <td width="59" class="musicMenuStyle" align="center"><b>试听</b></td>
        <td width="43" class="musicMenuStyle" align="center"><b>铃声</b></td>
        <td width="126" align="center"class="musicMenuStyle"><b>下载</b></td>
      </tr>
      <c:forEach items="${guest.currPageList}" var="bean">
      <tr>
        <td class="musicStyle" align="center">${bean.title }</td>
        <td class="musicStyle" align="center">${bean.artist }</td>
        <td class="musicStyle" align="center">${bean.special }</td>
        <td class="musicStyle" align="center">${bean.size }</td>
        <td class="musicStyle" align="center">${bean.speed }</td>
        <td class="musicStyle" align="center">${bean.type }</td>
        <td class="musicStyle" align="center"><a href="#" onclick="javascript:openAuditionMusic(${bean.id})" class="erji"><img src="images/erji4.gif"  width="22px;" height="20px" border="0"/></a></td>
        <td class="musicStyle" align="center">铃声</td>
        <td class="musicStyle" align="center"><a class="dwnmp3" href="${bean.url }">下载</a></td>
      </tr>
      </c:forEach>
    </table>
</c:if>